// 引入windi css
import '@/plugins/windi.css/index.js'
import 'element-plus/dist/index.css'

// 引入全局样式
import '@/styles/index.less'

// 引入动画
import '@/plugins/animate.css'

import {
  setupElementPlus
} from '@/plugins/elementPlus'
// 初始化多语言
import { setupI18n } from '@/plugins/vueI18n'
import {
  createApp
} from 'vue'
import App from './App.vue'

const setupAll = async () => {
  const app = createApp(App)
  await setupI18n(app)
  setupElementPlus(app)

  app.mount('#app')
}

setupAll()
